package freemind.controller;

import freemind.main.XMLElement;

public interface XMLProtocol {
	public static int SAVE = 1;
	public static int LOAD = 2;
	public static int REMOVE = 3;
	
	public static int RISCOS = 1;
	public static int DIALOGO = 2;
	
	public static int REQUEST = 1;
	public static int RESPONSE = 2;
	
	public int getOperacao();
	public void setOperacao(int operacao);
	
	public int getEnegModulo();
	public void setEnegModulo(int enegModulo);
	
	public XMLProtocol makeRequest();
	public XMLProtocol getResponse();
	
	public XMLElement readXML(String s);
	public XMLElement getXML(NodeAdapterBase adapter);
	
}
